package com.guo.dms.dept.permission.entity;

import java.io.Serializable;

import com.guo.dms.common.tree.entity.Node;

public class Permission extends Node implements Serializable{
	private static final long serialVersionUID = 1L;

	private Integer id;

    private Integer isdata;

    private Integer issys;

    private String permission;

    private String name;

    private Integer parentId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIsdata() {
        return isdata;
    }

    public void setIsdata(Integer isdata) {
        this.isdata = isdata;
    }

    public Integer getIssys() {
        return issys;
    }

    public void setIssys(Integer issys) {
        this.issys = issys;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    
    public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

	@Override
	public String toString() {
		return "Permission [id=" + id + ", isdata=" + isdata + ", issys=" + issys + ", permission=" + permission
				+ ", name=" + name + ", parentId=" + parentId + "]";
	}
    
    
}